package cn.yuanqiao.web.controller.archive.chooesuser;/**
 * @author 赵常飞
 * @date 2023/8/7 13:39
 */

import cn.yuanqiao.archive.chooesuser.service.IChooseUserService;
import cn.yuanqiao.common.web.controller.BaseController;
import cn.yuanqiao.common.core.domain.AjaxResult;
import cn.yuanqiao.common.annotation.Log;
import cn.yuanqiao.common.enums.BusinessType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *@AUTHOR:赵常飞
 *@date 2023/8/7 13:39
 */
@RestController
@RequestMapping("/archive/chooseuser")
public class ChooseUserController extends BaseController {
    @Autowired
    private IChooseUserService chooseUserService;
    @Log(title = "applymodel", businessType = BusinessType.SELECT)
    @GetMapping("/getusertree")
    public AjaxResult getusertree(){
        return success(chooseUserService.getusertree());
    }
}
